# $Id: PKGBUILD 65791 2012-02-22 12:36:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-dbi-shell
pkgver=11.95
pkgrel=3
pkgdesc="Perl/CPAN Module DBI::Shell"
arch=("any")
url="http://search.cpan.org/dist/DBI-Shell"
license=("GPL" "PerlArtistic")
makedepends=("perl-text-reform" "perl-io-tee")
depends=("perl-text-reform" "perl-io-tee")
source=("http://www.cpan.org/authors/id/T/TL/TLOWERY/DBI-Shell-$pkgver.tar.gz")
md5sums=('4a2031fc856bef6d6ba82ee75a5d119c')

build() {
  cd $srcdir/DBI-Shell-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
